tools: Use AC_SYS_LARGEFILE instead of calling getconf(1)
authorIan Campbell <ian.campbell@citrix.com>
Fri, 15 Mar 2013 13:15:42 +0000 (13:15 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 11 Apr 2013 10:09:25 +0000 (11:09 +0100)
commit1cc48e865b2faa3f8147c15fcec4c24c46b3d63f
treec2648a67386823d6b9a0e6776eb326683455cee8
parenteb60be3dd870aecfa47bed1118069680389c15f7
tools: Use AC_SYS_LARGEFILE instead of calling getconf(1)

getconf is not cross-compile friendly since it reports the features of the host
and not the target. There doesn't appear to be a $triplet-getconf.

AC_SYS_LARGEFILE arranges for #defines to appear in config.h however Xen's
build system expects these to be part of C{PP}FLAGS. Since I'm not confident
that everything in Xen includes config.h I instead arrange for the result of
running AC_SYS_LARGERFILE to end up in CFLAGS.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
config/Tools.mk.in
tools/Rules.mk
tools/config.h.in
tools/configure
tools/configure.ac